package org.pz.camunda.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.pz.camunda.dto.CamundaTaskNodeDto;

import java.util.List;
import java.util.Set;

@Mapper
public interface VariablesMapper {

    //插入流程节点信息
    void createProcessTask(@Param("taskId")String task,
                           @Param("userId")String userId,
                           @Param("createTime") String createTime,
                           @Param("operateCode") Integer code,
                           @Param("opinion") String opinion);

    //获取流程节点信息
    List<CamundaTaskNodeDto> nodeList(@Param("taskIds") Set<String> taskIds);
}
